<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>SVIP会员中心</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<link href="<?php echo $mcfg_basehost; ?>/m-css/m-index.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<?php echo $mcfg_basehost; ?>/m-js/jquery.js"></script>
<style type="text/css">
body{background:#fff;}
.wrapper{padding-top:0;}
.meTitle{color:#333;line-height:30px;font-size:14px;padding:10px 15px;background-color:#fff;margin-bottom:10px;}
.m-dwz-viptc{color:#666;line-height:30px;font-size:14px;padding:12px 15px 5px;background-color:#fff;}
.post-form{padding:0 15px 40px;background-color:#fff;}
.jjweixinBtn{position:fixed;right:15px;bottom:150px;width:40px;height:40px;background:#fff url(<?php echo $mcfg_basehost; ?>/m-images/list-fanhui.png) center no-repeat;background-size:25px 25px;border-radius:50%;box-shadow:0px 5px 11px 0px rgba(0,0,0,0.07);opacity:0.7;display:none;}

/*头部信息*/
.my-top{padding:25px 15px;background:#ffd19d;overflow:hidden;}
.my-top img{float:left;width:60px;height:60px;border-radius:50%;display:block;}
.m-user-title{font-weight:700;padding:8px 0 3px 0;color:#824a1b;font-size:18px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.user-yxw-vip-2{color:#824a1b;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.my-top .yxw-hyxx{padding-left:70px;height:60px;}

/*会员标识*/
.yxw-user-list-vip1{width:20px;height:20px;background:url(<?php echo $mcfg_basehost; ?>/m-images/yxw-vip-list1.png) no-repeat;background-size:20px 20px;display:inline-block;vertical-align:middle;margin:0 0 2px 3px;}
.yxw-user-list-vip2{width:20px;height:20px;background:url(<?php echo $mcfg_basehost; ?>/m-images/yxw-vip-list2.png) no-repeat;background-size:20px 20px;display:inline-block;vertical-align:middle;margin:0 0 2px 3px;}

/*VIP适用*/
.m-vip-shiyong{color:#999;font-size:12px;padding-left:5px;}

/*VIP会员套餐*/
.sel-vip{position:relative;overflow:hidden;overflow-x:scroll;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;}
.sel-vip li{position:relative;background:#fff9f1;border:1px solid #e2c5a0;border-radius:10px;cursor:pointer;margin-right:10px;text-align:center;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);}
.sel-vip li.on{background:#fff;border-color:#f84d6c;}
.sel-vip li:last-child{margin-right:0;}
.sel-vip .jjpaytype{white-space:nowrap;}
.sel-vip .right-top{height:24px;line-height:24px;font-size:12px;color:#fff;padding:0 10px;position:absolute;top:-1px;right:-1px;border-radius:0 10px 0 10px;background:linear-gradient(90deg,#fe4f37 0,#fe9440 100%);}
.sel-vip .pc-vip-name{font-size:18px;color:#333;font-weight:700;padding:40px 0 0;margin:0 10px;}
.sel-vip .on .pc-vip-name{border-color:#fe4f37;}
.sel-vip .price-c{font-size:12px;color:#f84d6c;font-weight:700;padding:10px 0 0;}
.sel-vip .price-c strong{font-size:18px;margin:0 2px}
.sel-vip .price-c em{text-decoration:line-through;color:#999;}
.button2{width:100%;line-height:46px;background:#ff700a;color:#fff;font-size:18px;padding:0;border:0;border-radius:23px;margin-top:20px;}
.pc-vip-list{padding-bottom:20px;}

/*会员服务说明*/
.vip-zyxs-box{background-color:#fff;padding:0 15px 50px;}
.vip-zyxs-box h3{font-size:16px;color:#333;padding:0 0 10px;font-weight:700;}
.vip-zyxs-box p{line-height:20px;padding-bottom:10px;color:#666;font-size:12px;text-align:justify;}
.vip-zyxs-box p strong{padding-right:5px;}
.vip-zyxs-box p span{color:#f30;}
</style>
</head>
<body>

<div class="wrapper">

<!-- 用户信息 -->
<div class="my-top">
<img src="<?php echo $cfg_ml->fields['face']=mstrone($cfg_ml->fields['face']); ?>">
<div class="yxw-hyxx">
<div class="m-user-title"><?php echo $cfg_ml->M_UserName; ?><?php if ($cfg_ml->M_Rank > 10){echo '<span class="yxw-user-list-vip2"></span>';} else{echo '<span class="yxw-user-list-vip1"></span>';}?></div>
<div class="user-yxw-vip-2"><?php if ($cfg_ml->M_Rank > 10){echo '您的SVIP会员将于'.$mhasDay.'</span>天后到期';} else{echo '您目前还不是会员哦~';}?></div>
</div>
</div>
<!-- 用户信息 End -->


<div class="m-dwz-viptc">会员套餐</div>
<!-- 购买VIP会员 -->
<div class="post-form">
<form name="f1" action="buy_action.php" method="post">
<input type="hidden" name="product" value="member" />
<input type="radio" checked name="pid" class="paytypeinp" value="5" style="display:none" />

<div class="sel-vip">
<ul class="clearfix jjpaytype">
<?php
$dsql->SetQuery("Select * From #@__member_type where aid=5");
$dsql->Execute();
$k=0;
while($row = $dsql->GetObject())
{
$k++;
?>
<li val="5" class="on">
<div class="pc-vip-list">
<div class="right-top">推荐</div>
<div class="pc-vip-name"><?php echo $row->pname?></div>
<div class="price-c">¥<strong><?php echo $row->money?></strong></div>
<div class="price-c" style="padding-top:5px;"><em>¥<?php echo $row->yuanjia?></em></div>
</div>
</li>
<?php
}
?>

<?php
$dsql->SetQuery("Select * From #@__member_type where aid=6");
$dsql->Execute();
$k=0;
while($row = $dsql->GetObject())
{
$k++;
?>
<li val="6">
<div class="pc-vip-list">
<div class="pc-vip-name"><?php echo $row->pname?></div>
<div class="price-c">¥<strong><?php echo $row->money?></strong></div>
<div class="price-c" style="padding-top:5px;"><em>¥<?php echo $row->yuanjia?></em></div>
</div>
</li>
<?php
}
?>

<?php
$dsql->SetQuery("Select * From #@__member_type where aid=7");
$dsql->Execute();
$k=0;
while($row = $dsql->GetObject())
{
$k++;
?>
<li val="7">
<div class="pc-vip-list">
<div class="pc-vip-name"><?php echo $row->pname?></div>
<div class="price-c">¥<strong><?php echo $row->money?></strong></div>
<div class="price-c" style="padding-top:5px;"><em>¥<?php echo $row->yuanjia?></em></div>
</div>
</li>
<?php
}
?>


</ul>
</div>

<button class="button2" type="submit"><?php if ($cfg_ml->M_Rank > 10){echo '续费会员';} else{echo '购买会员';}?></button>
</form>
</div>
<!-- 购买VIP会员 End -->


<!-- SVIP开通注意事项 -->
<div class="vip-zyxs-box">
<?php 
$row = $dsql->GetOne("SELECT * FROM `biz_arctype` WHERE id=69");
echo "".$row['content']."";
?>
</div>
<!-- SVIP开通注意事项 End -->



</div>



<!-- 最底部导航 -->
<div class="gzs-bottombar">
<a href="<?php echo $mcfg_basehost; ?>/" class="gzs-bo"><img src="<?php echo $mcfg_basehost; ?>/m-images/index.png"><p>首页</p></a>
<a href="<?php echo $mcfg_basehost;?>/user/buyhui.php" class="gzs-bo gzs-on"><img src="{dede:global.mcfg_basehost/}/m-images/index-ke2.png"><p>会员</p></a>
<a href="<?php echo $mcfg_basehost;?>/user/operation_ke.php" class="gzs-bo"><img src="<?php echo $mcfg_basehost;?>/m-images/index-yg.png"><p>学习</p></a>
<a href="<?php echo $mcfg_basehost; ?>/user/" class="gzs-bo"><img src="<?php echo $mcfg_basehost;?>/m-images/index-admin.png"><p>我的</p></a>
</div>
<!-- 最底部导航 End -->


<script>
$(".jjpaytype li").click(function(){
var aid = $(this).attr("val");  
$(".paytypeinp").val(aid);
$(".jjpaytype li").removeClass("on");
$(this).addClass("on");
})
</script>

</body>
</html>